/*
package com.aaa.come.controller;


import com.aaa.come.entity.PickDetail;
import com.aaa.come.service.PickDetailService;
import com.aaa.vo.R;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * <p>
 *  拣货管理明细
 * </p>
 *
 * @author aaa
 * @since 2020-11-27
 *//*

@RestController
@RequestMapping("/come/pick-detail")
public class PickDetailController2 {

    @Autowired
    private PickDetailService pickDetailService;


    //要用商品编码查出来商品名称，货位编码查出货位名称，根据传入的数量减少库存中该物品的数列，
    //判断传入的商品Id是否以及存在，如果已经存在在基础上增加商品，如果没有新增一个商品明细。
    @PostMapping("insertPickDetail")
    @ApiOperation(value = "拣货管理明细新增")
    public R insertPickDetail(@ApiParam("传入需要新增的变量") @RequestBody PickDetail pickDetail){
        boolean b=pickDetailService.insert(pickDetail);
        return null;
    }


}

*/
